package com.jeeplus.test.jlnu.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.test.jlnu.student.domain.entity.BsssStudentInfo;
import com.jeeplus.test.jlnu.student.domain.entity.StudentField;
import com.jeeplus.test.jlnu.student.domain.vo.BsssStudentInfoReqVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface BsssStudentInfoMapper extends BaseMapper<BsssStudentInfo> {


    int updateByStudentId (@Param("bsssStudentInfo") BsssStudentInfo bsssStudentInfo);

    int updateBirthDateByStudentId (@Param("bsssStudentInfo") BsssStudentInfo bsssStudentInfo);

    BsssStudentInfo selectStudent (String studentId, String flag);

    Page<BsssStudentInfo> selectStudentInfoList(@Param("bsssStudentInfo") BsssStudentInfo bsssStudentInfo, Page<BsssStudentInfo> page);

    Page<BsssStudentInfo> getBsssStudentInfoPage(@Param("bsssStudentInfoReqVo") BsssStudentInfoReqVo bsssStudentInfoReqVo, Page<BsssStudentInfo> page);

    BsssStudentInfo getStudentByStudentId(@Param("bsssStudentInfoReqVo") BsssStudentInfoReqVo bsssStudentInfoReqVo);

    Page<StudentField> getStudentInfoPage(@Param("studentField") StudentField studentField, Page<StudentField> page);

    //本科生-研究生-硕士 详情查询
    StudentField getStudentData(@Param("studentField") StudentField studentField);

    BsssStudentInfo studentForgotPasswordCheck(@Param("bsssStudentInfoReqVo") BsssStudentInfoReqVo bsssStudentInfoReqVo);

}
